package com.wenson.behavior.templatemethod;

/**
 * @ClassName: Bat
 * @Author: luowangcheng
 * @Date: 2024/6/15 10:55
 * @Description:
 */
public class Bat extends Mammal {
    @Override
    public void move() {
        System.out.print("蝙蝠在空中飞行……");
    }

    @Override
    public void eat() {
        System.out.println("抓小虫吃。");
    }
}
